#from TestDjango.testapp.views import hello
from django.conf.urls import patterns, include, url
from django.contrib import admin, admin

# Uncomment the next two lines to enable the admin:
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'TestDjango.views.home', name='home'),
    # url(r'^TestDjango/', include('TestDjango.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
    (r'^search-form/$', 'books.views.search_form'),
    (r'^search/$', 'books.views.search'),
    
    
    (r'^test/$', 'testapp.views.display_meta'),
    (r'^hello/$', 'testapp.views.hello'),
    (r'^time/$', 'testapp.views.current_datetime'),
    (r'^time/plus/(\d{1,2})/$', 'testapp.views.hours_ahead'),
)
